package org.abox.tools.ant.taskdefs.mks.util;

import com.mks.api.IntegrationPointFactory;

public final class VersionInfo {

	// Store the API Version
	public static final String VERSION = IntegrationPointFactory.getAPIVersion().substring(0,
			IntegrationPointFactory.getAPIVersion().indexOf(' '));
	public static final int MAJOR_VERSION = Integer.parseInt(VERSION.substring(0, VERSION.indexOf('.')));
	public static final int MINOR_VERSION = Integer.parseInt(VERSION.substring(VERSION.indexOf('.')+1, VERSION.length()));

	private VersionInfo() {}

}
